package com.fan.shop.dao;

import java.util.List;

import com.fan.shop.domain.TransactionReference;
import com.fan.shop.domain.TransactionReferenceGroup;

public interface TransactionReferenceGroupDao {

	public List<TransactionReferenceGroup> getAllTransactionReferencesGroups();
	public TransactionReferenceGroup getTransactionReferenceGroup(String name);
	public boolean hasTransactionReferenceGroup(String name);
	public int getSize();
	
	public void addTransactionReferenceGroup(TransactionReferenceGroup transactionReferenceGroup);
	public void updateTransactionReferenceGroup(TransactionReferenceGroup transactionReferenceGroup);
	public void deleteTransactionReferenceGroup(TransactionReferenceGroup transactionReferenceGroup);
	public List<String> getColumnNames();
	
	public List<TransactionReference> getSubTransactionReferences(String groupCode);
}
